//
//  LDRCIMDataSource.swift
//  DingDongZP
//
//  Created by 三秒文化 on 16/6/2.
//  Copyright © 2016年 iyhjiang.com. All rights reserved.
//

import UIKit

class LDRCIMDataSource: NSObject {
    
    class var shareInstance:LDRCIMDataSource{
        
        struct Instance {
            static let instance = LDRCIMDataSource()
        }
        return Instance.instance
    }
    
    
    private override init() {
        super.init()
    }
    
    func cacheAllUserInfo(finished:(()->Void)?) {
        
        let arr = [AnyObject]()
        let allUserInfo = LDMessageDataManager.shareInstance//[[RCDataBaseManager shareInstance] getAllUserInfo]

            
            if finished != nil {
                finished!()
            }
    }
    
}

extension LDRCIMDataSource:RCIMUserInfoDataSource{
    //RCIMUserInfoDataSource
    func getUserInfoWithUserId(userId: String!, completion: ((RCUserInfo!) -> Void)!) {
        
    }
}
